#import "GroupChatView.h"
#import "Peers.h"
#import "ChatsController.h"
#import "SolarSeekEngine.h"
#import "SolarSeekApplication.h"
#import "ChatElements.h"
#import "ChatsView.h"

@implementation GroupChatView

- (void)awakeFromNib {
	[nibTableUsers setTarget:self];
	[nibTableUsers setDoubleAction:@selector(startPrivateChats:)];
}

- (NSArray *)participantsSelected {	return [nibControllerParticipants selectedObjects]; }

- (void)startPrivateChats:(id)sender {
	[(ChatsView *)[[ChatsElement elementChatsRoot] view] startPrivateChats:self];
}

@end
